#!/bin/bash

## start docker from ubuntu

## todocker -> av/pics
## todocker -> logs

imagename=jmdvirus/snaky:latest

[ -d /opt/data/todocker ] || {
	mkdir -p /opt/data/todocker/av/pics
	mkdir -p /opt/data/todocker/logs
}

docker run -it -d -v /opt/data/todocker:/opt/data/todocker \
	-p 80:80 $imagename /opt/data/proj/apps/docker-snaky-start.sh /bin/bash

